package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.DynamicSecondaryReview;
import cn.wolfcode.trip.base.query.DynamicSecondaryReviewQueryObject;

import java.util.List;
import java.util.Map;

public interface DynamicSecondaryReviewMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DynamicSecondaryReview record);

    DynamicSecondaryReview selectByPrimaryKey(Long id);

    List<DynamicSecondaryReview> selectAll();

    /**
     * 过滤查询所有回复，如果有动态id，就根据id查
     * @return
     */
    List selectAllReply(DynamicSecondaryReviewQueryObject qo);
}